﻿using System;

namespace WP7.Extensions.Extensions
{
    public static class GuidExtensions
    {
        /// <summary>
        /// Checks if guid is empty
        /// </summary>
        /// <param name="self">Your guid</param>
        /// <returns>True if guid is empty</returns>
        public static bool IsGuidEmpty(this Guid self)
        {
            return self == Guid.Empty;
        }

        public static string RemoveHyphen(this Guid self)
        {
            return self.ToString().Replace("-", "");
        }
    }
}
